import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

// 保存
export const saveMenuApi = generateRequest(`${apiUrlPrefix}/organization/menus/save`)

// 删除
export const deleteMenuApi = generateRequest(`${apiUrlPrefix}/organization/menus/delete`)

// 查询机构树菜单结构
export const queryMenuApi = generateRequest(`${apiUrlPrefix}/organization/menus/getMenuTree`)

// 菜单维护查询功能页面接口
export const queryMenuFunctionApi = generateRequest(`${apiUrlPrefix}/organization/menus/getFeature`)
